package com.rika.service;

import com.rika.pojo.Product;

import java.util.List;
import java.util.Map;

public interface ProductService {
    List<Product> selectAllProduct(Map<String, Object> params);
    Integer countAll();
    void addProduct(Product product);
    void deleteProduct(String productCode);
    List<Product> selectByProductCode(String productCode);
    List<Integer> selectCategoryByProductCode(String productCode);
    void updateProduct(Product product);
    List<Product> selectAllProductForPo();
    Product selectByName(String name);
    void updateproductInStore(Map<String, Object> params);
    void updateProductWhenAddPoMain(Map<String, Object> params);
    void updateproductOutStore(Map<String, Object> params);
    List<Product> selectProductForStore(Map<String, Object> params);
    List<Product> selectProductForStockRecord(Map<String, Object> params);
    List<Product> selectProductReport(Map<String, Object> params);
}
